<?php /* Smarty version 2.6.18, created on 2009-11-05 02:15:36
         compiled from systemPM_table.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'systemPM_table.tpl', 15, false),)), $this); ?>
<div id="pageNavPosition" style="color:#84b5cc"></div>
<table width="100%" id="results">
	<tr bgcolor="#cccccc">
		<td width="5%"></td>
		<td width="5%" align="center"><label><b>MOID</b></label></td>
		<td><label><b>Name</b></label></td>
		<td><label><b>Sale Unit</b></label></td>
		<td><label><b>Default Inventory Costv</label></td>
		<td><label><b>Default Base Price Sale</b></label></td>
		<td><label><b>Currency</b></label></td>
		<td><label><b>Created By</b></label></td>
		<td><label><b>Date Created</b></label></td>
	</tr>
	<?php $_from = $this->_tpl_vars['organisms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['organism']):
?>
		<tr class="<?php echo smarty_function_cycle(array('values' => "blue,notify"), $this);?>
">
			<td align="center"><input type="button" value="Edit" onclick="edit_item(<?php echo $this->_tpl_vars['organism']['organism_id']; ?>
)"</td>
			<td align="center"><label><?php echo $this->_tpl_vars['organism']['moid']; ?>
</label></td>
			<td><div align="center">
				<?php if ($this->_tpl_vars['organism']['link']): ?>
				<img  onclick="PopEx(this, null, null, null, 300, 50, 'PopBoxImageLarge');" 
					  pbCaption="<i><?php echo $this->_tpl_vars['organism']['scientific_name']; ?>
</i>, <?php echo $this->_tpl_vars['organism']['name']; ?>
" 
					  id="trade<?php echo $this->_tpl_vars['key']; ?>
" width="98" 
					  src="<?php echo $this->_tpl_vars['organism']['link']; ?>
" 
					  pbsrc="<?php echo $this->_tpl_vars['organism']['link']; ?>
" 
					  class="PopBoxImageSmall" title="Click to magnify/shrink">
				<br>
				<?php endif; ?>
				<label><?php echo $this->_tpl_vars['organism']['name']; ?>
</label>
				</div>
			</td>
			<td><label><?php echo $this->_tpl_vars['organism']['sale_unit']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['organism']['default_inventory_cost']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['organism']['default_base_price_sale']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['organism']['currency_mark']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['organism']['created_by']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['organism']['date_created']; ?>
</label></td>
		</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>
<script type="text/javascript"><!--
        var pager = new Pager('results', 10); 
        pager.init(); 
        pager.showPageNav('pager', 'pageNavPosition'); 
        pager.showPage(1);
</script>


	
	
	